package com.ropeok.mapper;

import com.ropeok.entity.Role;
import com.ropeok.entity.RoleAndPermission;
import com.ropeok.entity.permissions;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface role_permissionMapper {
    void SaveRp(RoleAndPermission roleAndPermission);
    void DelRpRole(Integer id);
    void DelRpPermisssion(Integer id);

    List<RoleAndPermission> FindAllRoleAndPermission();
}
